package ldh.im.rpc.config;

import ldh.im.rpc.RpcMapper;

import java.lang.reflect.Method;

public class RpcMapperInfo {

    private Class clazz;
    private Method method;
    private Class[] parameterTypes;
    private RpcMapper mapper;
    private Class returnType;

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Class[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public RpcMapper getMapper() {
        return mapper;
    }

    public void setMapper(RpcMapper mapper) {
        this.mapper = mapper;
    }

    public Class getReturnType() {
        return returnType;
    }

    public void setReturnType(Class returnType) {
        this.returnType = returnType;
    }
}
